<?xml version="1.0" ?>
<openerp>
    <data>
        <record id="view_picking_out_tree" model="ir.ui.view">
            <field name="name">stock.move.tree</field>
            <field name="model">stock.move</field>
            <field name="arch" type="xml">
                <tree colors="red:alert_date &gt; current_date and current_date &gt; life_date" string="Stock Life">
                    <field name="name"/>
                    <field name="partner_id" string="Customer"/>
                    <field name="origin"/>
                    <field name="product_qty"/>
                    <field name="life_date"/>
                    <field name="alert_date" invisible="1"/>
                    <field name="state"/>
                </tree>
            </field>
        </record>
        
        
        <record id="action_picking_tree" model="ir.actions.act_window">
            <field name="name">Stock Life</field>
            <field name="res_model">stock.move</field>
            <field name="type">ir.actions.act_window</field>
            <field name="view_type">form</field>
            <field name="view_mode">tree</field>
            <field name="domain">[('picking_id.type','=','out')]</field>
        </record>
        
        <record id="action_picking_tree_out_view1_waiting" model="ir.actions.act_window.view">
            <field eval="1" name="sequence"/>
            <field name="view_mode">tree</field>
            <field name="view_id" ref="view_picking_out_tree"/>
            <field name="act_window_id" ref="action_picking_tree"/>
        </record>
        
        <menuitem action="action_picking_tree" id="menu_action_picking_tree_inherit" parent="base.menu_product" sequence="3"/>
        
    </data>
</openerp>


